package com.hs.srm.admin.modules.requisition.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import cn.afterturn.easypoi.excel.annotation.Excel;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;

 /*
  * 
 */
@Setter
@Getter
@TableName("pro_purch_request_header")
@ToString
public class ProPurchRequestHeaderEntity implements Serializable {

  private static final long serialVersionUID = 1L;

   public static final int YIBAOJIA = 4;// 供应商已报价

  public ProPurchRequestHeaderEntity() {
	super();
  }
  
  /*
   * PKID
  */
  @TableId(value = "pk_id", type = IdType.UUID)
  @Excel(name = "PKID", orderNum="1")
  private java.lang.String pkId;
  
  /*
   * 采购申请编码
  */
  @TableField("purch_request_code")
  @Excel(name = "采购申请编码", orderNum="2")
  private java.lang.String purchRequestCode;
  
  /*
   * 采购申请类型
  */
  @TableField("purch_request_type")
  @Excel(name = "采购申请类型", orderNum="3")
  private java.lang.String purchRequestType;
  
  /*
   * 申请人
  */
  @TableField("purch_request_staff")
  @Excel(name = "申请人", orderNum="4")
  private java.lang.String purchRequestStaff;
  
  /*
   * 申请部门
  */
  @TableField("purch_request_dept")
  @Excel(name = "申请部门", orderNum="5")
  private java.lang.String purchRequestDept;
  
  /*
   * 删除标志
  */
  @TableField("delete_flag")
  @Excel(name = "删除标志", orderNum="6")
  private java.lang.String deleteFlag;
  
  /*
   * 创建人
  */
  @TableField("created_by")
  @Excel(name = "创建人", orderNum="7")
  private java.lang.String createdBy;
  
  /*
   * 创建日期
  */
  @TableField("creation_date")
  @Excel(name = "创建日期", orderNum="8")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private java.util.Date creationDate;
  
  /*
   * 修改人
  */
  @TableField("last_updated_by")
  @Excel(name = "修改人", orderNum="9")
  private java.lang.String lastUpdatedBy;
  
  /*
   * 修改日期
  */
  @TableField("last_update_date")
  @Excel(name = "修改日期", orderNum="10")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private java.util.Date lastUpdateDate;
  
  /*
   * 同步时间
  */
  @TableField("sync_date")
  @Excel(name = "同步时间", orderNum="11")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private java.util.Date syncDate;
  
  /*
   * sap返回唯一标识
  */
  @TableField("guid32")
  @Excel(name = "sap返回唯一标识", orderNum="12")
  private java.lang.String guid32;
  
  
  /**
   * 货源状态：-2草稿,-1采购申请已确认, 0货源指定，1提交，2审批中，3审批通过，-3审批驳回，4供应商已报价
  */
  @TableField("goods_status")
  @Excel(name = "货源状态", orderNum="13")
  private int goodsStatus;

}
